<template>
	<web-view :src="info"></web-view>
</template>

<script>
	import Api from '@/http/api.js'
	export default{
		data(){
			return {
				info:''
			}
		},
		onLoad(){
			this.loacheng()
			
		},
		methods:{
			async loacheng(){
				var pages = getCurrentPages();   //获取加载的页面
				var currentPage = pages[pages.length - 1];  //获取当前页面的对象
				this.info = currentPage.options.id //当前页面url的参数
			}
		}
	}
</script>

<style>
</style>